package com.syl.starter.itools.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 日期单位枚举
 *
 * @author syl
 * @create 2018-06-19 11:09
 **/
@Getter
@AllArgsConstructor
public enum DateUnitEnum {
    /**
     * 年
     */
    YEAR("Year","Years"),
    /**
     * 月
     */
    MONTH("Month","Months"),
    /**
     * 周
     */
    WEEK("Week","Weeks"),
    /**
     * 天
     */
    DAY("Day","Days"),
    /**
     * 小时
     */
    HOUR("Hour","Hours"),
    /**
     * 分钟
     */
    MINUTE("Minute","Minutes"),
    /**
     * 秒
     */
    SECOND("Second","Seconds"),
    /**
     * 毫秒
     */
    MILLISECOND("MilliSecond","Nanos"),
    /**
     * 纳秒
     */
    NANO("Nano","Nanos")
    ;

    private String name;
    private String miniMethodName;


}
